import request from '@/server'

// 获得首页轮播图
export const getHomeBannerApi = () => {
  return request.get({
    url: '/home/banners',
    isLoading: true
  })
}

// 获得数据模块中的胡数据
export const getHomeVisiteApi = () => {
  return request.get({
    url: '/home/visite'
  })
}

// 获得数据长度
export const getHomeDataLengthApi = () => {
  return request.get({
    url: '/home/getLength'
  })
}
